phpseclib\Net\SFTP D

Total Complexity 406
Dependencies 3
Dependents 4
Total lines 2,795
Lines of code 1,493
Logical lines of code 971
Comment lines 949
Methods 65
Properties 15

Methods 65

Method Rating Maintainability Complexity Lines of code
put()
D
30 32 114
get()
C
34 27 88
_comparator()
C
41 27 52
_list()
B
36 22 76
login()
A
36 13 90
lstat()
A
44 15 46
_setstat_recursive()
A
44 14 47
stat()
A
46 14 40
_delete_recursive()
A
44 13 46
_update_stat_cache()
A
49 11 29
_realpath()
A
46 10 38
chdir()
A
47 10 35
_get_sftp_packet()
A
43 9 50
_parseMode()
A
53 10 24
_parseAttributes()
A
47 9 34
rawlist()
A
53 9 21
touch()
A
48 8 32
chmod()
A
50 8 29
filetype()
A
54 8 22
delete()
S
50 7 29
_setstat()
S
50 7 29
rename()
S
51 7 26
__construct()
S
34 2 100
_nlist_helper()
S
53 7 22
readlink()
S
52 6 25
rmdir()
S
53 6 23
mkdir()
S
53 6 21
_get_xstat_cache_prop()
S
59 6 14
_send_sftp_packet()
S
51 5 23
symlink()
S
54 5 21
_parseLongname()
S
59 5 15
_close_handle()
S
58 4 15
_mkdir_helper()
S
58 4 15
_remove_from_stat_cache()
S
58 4 15
_stat()
S
58 4 15
setListOrder()
S
59 4 14
_read_put_responses()
S
59 4 14
size()
S
63 4 10
_logError()
S
61 3 12
getSFTPLog()
S
62 3 12
_query_stat_cache()
S
62 3 11
file_exists()
S
65 3 10
getLastSFTPError()
S
78 2 3
is_link()
S
69 2 7
is_file()
S
69 2 7
is_dir()
S
69 2 7
getSupportedVersions()
S
68 2 7
getSFTPErrors()
S
83 1 3
disableStatCache()
S
82 1 3
enableStatCache()
S
82 1 3
clearStatCache()
S
82 1 3
pwd()
S
83 1 3
chgrp()
S
74 1 4
filesize()
S
80 1 3
nlist()
S
79 1 3
_get_lstat_cache_prop()
S
79 1 3
_get_stat_cache_prop()
S
79 1 3
chown()
S
74 1 4
filegroup()
S
80 1 3
fileowner()
S
80 1 3
fileperms()
S
80 1 3
filemtime()
S
80 1 3
fileatime()
S
80 1 3
truncate()
S
74 1 4
_disconnect()
S
77 1 4